package com.study.entity;

import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.time.LocalDateTime;

/**
 * 收藏活动实体类
 */
@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
public class ActivityCollection {
    /**
     * 主键
     */
    private Long id;
    /**
     * 用户id
     */
    private Long userId;
    /**
     * 活动id
     */
    private Long activityId;

    /**
     * 收藏时间
     */
    private LocalDateTime createTime;
}
